package cn.sytton.taffecloud.common.db.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

/**
 * 分页参数实体
 *
 * @author skyrock
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParam {
    private int pageNum = 1;   //默认从第一条开始查
    private int pageSize = 50; //默认没页50条记录
    private Map<String, Object> filter;
    private String sort;
    private Map<String, Object> params = new HashMap<>();
    private Map<String, Object> export;
}
